package com.test;

import com.bean.Student;
import com.service.StudentService;

import java.util.HashSet;
import java.util.Set;

public class StudentTest01 {
    public static void main(String[] args) {
        Student student = new Student();
        student.setName("数云");
        student.setAge(30);

        Set<Student> set = new HashSet<Student>();

        StudentService studentService = new StudentService();

//        studentService.add(student);
        set = studentService.findAll();

        for (Student s : set){
            System.out.println("student = " + s);
        }
    }
}
